package com.free.semantic.core.service;


import com.free.semantic.common.ParamNode;
import com.free.semantic.common.RelationChain;
import com.free.semantic.core.ConceptInstanceManage;
import com.free.semantic.facade.Link;
import com.free.semantic.facade.Node;

import java.util.List;

public interface FreeService {

    List<Object> takePath(String conceptName, List<ParamNode> from, String destObject);

    Object execScript(String conceptName, String script);

    Object build(String conceptName, String script);

    ConceptInstanceManage get(String concept);

    void set(String concept, ConceptInstanceManage instanceManage);

    List<RelationChain> searchPath(String conceptName, List<String> from, String destObject);

    List<Node> getAllNode(String concept);

    List<Link> getAllLink(String concept);

}
